package com.qf.java2201.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @date 2022/4/27
 * @desc
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class KindExcelDto {
    //编号
    @ExcelProperty("编号")
    private Integer id;

    @ExcelProperty(value = "姓名")
    private String fl_name;


    @DateTimeFormat("yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    @ExcelProperty(value = "创建日期")
    private Date create_time;  // 创建时间

}
